<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<form id="pagerForm" method="post" action=""> <!-- 此action指定的是排序、分页所提交的action -->
	<input type="hidden" name="status" value="${param.status}">
	<input type="hidden" name="keywords" value="${param.keywords}" />
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
</form>


<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="<%=basePath%>port_findPort.action" method="post">
	<div class="searchBar">
				<div class="pageFormContent1">
					<p>
					<label>港口CODE：</label>
					<input type="text" name="portCode" />
					</p>
					<p>
				    <label>港口名：</label>
					<input type="text" name="portName" />
					</p>
					<p>
				    <label>所在城市名：</label>
					<input type="text" name="cityName" />
					</p>
				</div>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">&nbsp;&nbsp;&nbsp;查&nbsp;&nbsp;询&nbsp;&nbsp;&nbsp;</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="pricemanager/Whither/addHaven.jsp" target="navTab" title="添加港口" width="500" height="350" rel="addHaven"><span>添加港口</span></a></li>
			<li><a class="delete" href="<%=basePath%>port_delPort.action" rel="port_ids" target="selectedTodo" postType="string" title="确定要删除吗?"><span>删除港口</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="163">
		<thead>
			<tr>
				<th width="30"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th width="50" orderField="accountNo" class="asc">港口CODE</th>
				<th width="100" orderField="accountNo" class="asc">港口名</th>
				<th width="100"orderField="accountNo" class="asc">所在城市</th>
				<th width="100"orderField="accountNo" class="asc">所属国家</th>
				<th width="100"orderField="accountNo" class="asc">分类</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${ports}" var="port">
				<tr target="sid_user" rel="${port.portId }">
					<td><input name="port_ids" value="${port.portId }" type="checkbox"></td>
					<td>${port.portCode }</td>
					<td>${port.portName }</td>
					<td>${port.portCity }</td>
					<td>${port.clinentCountryName }</td>
					<td>
						<c:if test="${port.portClass == 'AR'}">
							空运
						</c:if>
						<c:if test="${port.portClass == 'OS'}">
							海运
						</c:if>
					</td>
			   </tr>
			</c:forEach>
		</tbody>
	</table>
	<div class="panelBar">
		

	</div>
</div>

